package com.lh.shop.service.impl;

import com.lh.common.domain.Shop;
import com.lh.shop.mapper.ShopMapper;
import com.lh.shop.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName：ShopServiceImpl
 * @Author: LeiHao
 * @Date: 2024/8/9 19:46
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@Service
public class ShopServiceImpl implements ShopService {

    @Autowired
    private ShopMapper shopMapper;
    @Override
    public List<Shop> findAll() {
        return shopMapper.findAll();
    }
}
